<?php
/**
* @package Scribble
*/
?>

<table>
	<thead>
		<tr>
			<td>When</td>
			<td>Message</td>
		</tr>
	</thead>
	<tbody>
	<?php foreach($messages as $m): ?>
		<tr>
			<td><?php $this->html->e(scribble_timeAgo($m->datecreated)); ?></td>
			<td><?php echo $m->message; /* Message is escaped in controller */ ?></td>
		</tr>
	<?php endforeach; ?>
	</tbody>
</table>